resources :songs do
  get '/' do
    Song.page(params[:page]).per(params[:per])
  end

  post '/' do
    Song.create(params[:song])
  end
end